#ifndef __LENGTHUNIT_H__
#define __LENGTHUNIT_H__
#include <Unit.h>

typedef enum length_unit{
    LENGTH_UNIT_INCH = 0,
    LENGTH_UNIT_FEET,
    LENGTH_UNIT_YARD,
    LENGTH_UNIT_MILE,
} LENGTH_UNIT;

extern const unsigned long lengthFactor[];
extern const char *lengthTypeName[];

typedef Unit<LENGTH_UNIT, lengthFactor, lengthTypeName, 4> LengthUnit;

extern const LengthUnit INCH;
extern const LengthUnit FEET;
extern const LengthUnit YARD;
extern const LengthUnit MILE;

#endif

